<div class="form-inline">
    <div class="well">
        <?php
        /** @var PromocionesController $this */
        /** @var Promociones $model */
        /** @var AweActiveForm $form */
        $form = $this->beginWidget('ext.AweCrud.components.AweActiveForm', array(
        'type' => 'horizontal',
        'id' => 'promociones-form',
        'enableAjaxValidation' => false,
        'clientOptions' => array('validateOnSubmit' => true, 'validateOnChange' => false,),
        'enableClientValidation' => true,
        ));?>

        
        
            
                        <div class="row-fluid">
                                    <div class="span12">
                        <?php echo $form->textFieldRow($model, 'titulo', array('maxlength' => 45)) ?>
                                </div>
                    
                        <div class="row-fluid">
                                        <?php echo $form->textFieldRow($model, 'descripcion', array('maxlength' => 360)) ?>
                    </div>

                            </div>
                    
                        <div class="row-fluid">
                                    <div class="span12">
                        <?php echo $form->dropDownListRow($model, 'productos_id', array('' => ' -- Seleccione -- ') + CHtml::listData(Productos::model()->findAll(), 'id', Productos::representingColumn())) ?>
                                </div>
                            </div>                <center>
            <div class="span12">
                                <?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? Yii::t('AweCrud.app', 'Create') : Yii::t('AweCrud.app', 'Save'),
		)); ?>
                <?php $this->widget('bootstrap.widgets.TbButton', array(
			//'buttonType'=>'submit',
			'label'=> Yii::t('AweCrud.app', 'Cancel'),
			'htmlOptions' => array('onclick' => 'javascript:history.go(-1)')
		)); ?>
            </div>

            <?php $this->endWidget(); ?>
        </center>
    </div>
</div>